package com.credithc.signature.manager.mapper;

import com.credithc.baseserv.core.mapper.BsBaseMapper;
import com.credithc.signature.common.po.Template;
import com.credithc.signature.manager.ro.TemplateRo;
import com.credithc.signature.manager.vo.TemplateVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
@Mapper
public interface TemplateMMapper extends BsBaseMapper<Template> {

    List<TemplateVo> selectByRo(@Param("tr") TemplateRo templateRo, RowBounds rowBounds);

    int selectCountByRo(TemplateRo templateRo);
}
